package com.cosmoplat.xikai.business.domain.back;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @ClassName ProcessingDataBack
 * @Description 过程加工数据
 * @Author wdf
 * @Date 2025/2/6
 */
@TableName("ProcessingData_Back")
@Data
public class ProcessingDataBack implements Serializable {

    /**
     * 主键
     */
    @TableField(value = "Primarykey")
    @ApiModelProperty(value = "主键", example = "1")
    private Long primaryKey;

    /**
     * 扫描的编码值
     */
    @TableField(value = "SerialNumber")
    @ApiModelProperty(value = "扫描的编码值", example = "SN001")
    private String serialNumber;

    /**
     * 员工编号
     */
    @TableField(value = "UserNumber")
    @ApiModelProperty(value = "员工编号", example = "EMP001")
    private String userNumber;

    /**
     * 设备编号
     */
    @TableField(value = "DeviceCode")
    @ApiModelProperty(value = "设备编号", example = "EQP001")
    private String deviceCode;

    /**
     * 能耗
     */
    @TableField(value = "PowerUsed")
    @ApiModelProperty(value = "能耗", example = "120.5")
    private float powerused;

    /**
     * 数据转移标志，转移后为1
     */
    @TableField(value = "Flag")
    @ApiModelProperty(value = "数据转移标志，转移后为1", example = "0")
    private Character flag;

    /**
     * 零件1编码
     */
    @TableField(value = "Part1Code")
    @ApiModelProperty(value = "零件1编码", example = "PART001")
    private String part1Code = "-";

    /**
     * 零件1压装深度
     */
    @TableField(value = "Part1PressDepth")
    @ApiModelProperty(value = "零件1压装深度", example = "10.5")
    private Long part1PressDepth = 0L;

    /**
     * 零件2编码
     */
    @TableField(value = "Part2Code")
    @ApiModelProperty(value = "零件2编码", example = "PART002")
    private String part2Code = "-";

    /**
     * 零件2压装深度
     */
    @TableField(value = "Part2PressDepth")
    @ApiModelProperty(value = "零件2压装深度", example = "12.0")
    private Long part2PressDepth = 0L;

    /**
     * 零件3编码
     */
    @TableField(value = "Part3Code")
    @ApiModelProperty(value = "零件3编码", example = "PART003")
    private String part3Code = "-";

    /**
     * 零件3压装深度
     */
    @TableField(value = "Part3PressDepth")
    @ApiModelProperty(value = "零件3压装深度", example = "8.0")
    private Long part3PressDepth = 0L;

    /**
     * 零件4编码
     */
    @TableField(value = "Part4Code")
    @ApiModelProperty(value = "零件4编码", example = "PART004")
    private String part4Code = "-";

    /**
     * 零件4压装深度
     */
    @TableField(value = "Part4PressDepth")
    @ApiModelProperty(value = "零件4压装深度", example = "7.5")
    private Long part4PressDepth = 0L;

    /**
     * 零件5编码
     */
    @TableField(value = "Part5Code")
    @ApiModelProperty(value = "零件5编码", example = "PART005")
    private String part5Code = "-";

    /**
     * 零件5压装深度
     */
    @TableField(value = "Part5PressDepth")
    @ApiModelProperty(value = "零件5压装深度", example = "9.0")
    private Long part5PressDepth = 0L;

    /**
     * 绝缘轴力矩
     */
    @TableField(value = "InsulationShaftTorque")
    @ApiModelProperty(value = "绝缘轴力矩", example = "150.0")
    private Long insulationShaftTorque = 0L;
}
